﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Inaction.ServiceProxy
{
    [Serializable]
    public class ResponseData
    {
        public Exception Exception { get;private set; }

        public object Data { get; set; }

        public ResponseData(object data)
        {
            this.Data = data; 
        }

        public ResponseData(Exception e)
        {
            this.Exception = e;
        }
    }
}
